
             
/**
 * 
 *
 * @File name:  QueryTPersonnalAction.java 
 * @Create on:  2011-10-30 23:38:960
 * @Author   :  陈伟
 *
 * @ChangeList
 * ---------------------------------------------------
 * Date         Editor              ChangeReasons
 *
 */
           
        
package com.boho.estates.staff.action;

            
import java.sql.Connection;
import java.util.List;

import cn.boho.framework.actions.ActionImp;
import cn.boho.framework.context.ActionContext;
import cn.boho.framework.service.MessageService;

import com.boho.estates.staff.dao.TPersonnalDao;

public class QueryDistributePersonListAction extends ActionImp {
	private Connection con=null;
	@Override
	protected void doException(ActionContext atx, Exception ex) {
		atx.setErrorContext("BOHO_COMMON_1004", MessageService.getMessage("BOHO_COMMON_1004"),"【系统账号信息】" ,ex);
	}
	@Override
	protected int performExecute(ActionContext atx) throws Exception {
		List list=TPersonnalDao.queryDistributePersonList(con);
		atx.setValue("T_PERSONNAL", list.toArray());
		return 1;
	}
	@Override
	protected int verifyParameters(ActionContext atx) throws Exception {
		con = atx.getConection();
		return 1;
	}
}
